Fluent Assertions Documentation
FluentAssertions Namespace / AssertionExtensions Class / Invoking Method / Invoking<T>(T,Action<T>) Method
In This Topic
    Invoking<T>(T,Action<T>) Method
    In This Topic
    Invokes the specified action on a subject so that you can chain it with any of the assertions from FluentAssertions.Specialized.ActionAssertions
    Syntax
    [Extension()]
    public static Action Invoking<T>( 
       T subject,
       Action<T> action
    )

    Parameters

    subject
    action

    Type Parameters

    T
    Exceptions
    ExceptionDescription
    subject is a null reference (Nothing in Visual Basic).
    action is a null reference (Nothing in Visual Basic).
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also